package com.kuang.demo.vo;


import java.util.List;

/**
 * Created by 郭浩 on 2020/11/3 7:31
 */
public class OrderDetailVO {

    /**
     * orderGoods : [{"id":295,"orderId":216,"goodsId":1097011,"goodsName":"原素系列1.8米实木床","goodsSn":"1097011","productId":125,"number":3,"price":3899,"specifications":["标准"],"picUrl":"http://yanxuan.nosdn.127.net/fea36ef2514c904f4f45f1975f37f289.png","comment":1057,"addTime":"2020-10-09 20:01:28","updateTime":"2020-10-09 20:58:00","deleted":false}]
     * user : {"nickname":"测试用户","avatar":"https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80"}
     * order : {"id":216,"userId":1,"orderSn":"20201009145277","orderStatus":401,"consignee":"tusun","mobile":"13788487293","address":"天津市 市辖区 和平区 sadasdisahfahfas","message":"","goodsPrice":11697,"freightPrice":0,"couponPrice":0,"integralPrice":0,"grouponPrice":0,"orderPrice":11697,"actualPrice":11697,"comments":0,"addTime":"2020-10-09 20:01:28","updateTime":"2020-10-09 20:58:00","deleted":false}
     */

    private UserBean user;
    private OrderBean order;
    private List<OrderGoodsBean> orderGoods;

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public OrderBean getOrder() {
        return order;
    }

    public void setOrder(OrderBean order) {
        this.order = order;
    }

    public List<OrderGoodsBean> getOrderGoods() {
        return orderGoods;
    }

    public void setOrderGoods(List<OrderGoodsBean> orderGoods) {
        this.orderGoods = orderGoods;
    }

    public static class UserBean {
        /**
         * nickname : 测试用户
         * avatar : https://wpimg.wallstcn.com/f778738c-e4f8-4870-b634-56703b4acafe.gif?imageView2/1/w/80/h/80
         */

        private String nickname;
        private String avatar;

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class OrderBean {
        /**
         * id : 216
         * userId : 1
         * orderSn : 20201009145277
         * orderStatus : 401
         * consignee : tusun
         * mobile : 13788487293
         * address : 天津市 市辖区 和平区 sadasdisahfahfas
         * message :
         * goodsPrice : 11697
         * freightPrice : 0
         * couponPrice : 0
         * integralPrice : 0
         * grouponPrice : 0
         * orderPrice : 11697
         * actualPrice : 11697
         * comments : 0
         * addTime : 2020-10-09 20:01:28
         * updateTime : 2020-10-09 20:58:00
         * deleted : false
         */

        private int id;
        private int userId;
        private String orderSn;
        private int orderStatus;
        private String consignee;
        private String mobile;
        private String address;
        private String message;
        private int goodsPrice;
        private int freightPrice;
        private int couponPrice;
        private int integralPrice;
        private int grouponPrice;
        private int orderPrice;
        private int actualPrice;
        private int comments;
        private String addTime;
        private String updateTime;
        private boolean deleted;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }

        public String getOrderSn() {
            return orderSn;
        }

        public void setOrderSn(String orderSn) {
            this.orderSn = orderSn;
        }

        public int getOrderStatus() {
            return orderStatus;
        }

        public void setOrderStatus(int orderStatus) {
            this.orderStatus = orderStatus;
        }

        public String getConsignee() {
            return consignee;
        }

        public void setConsignee(String consignee) {
            this.consignee = consignee;
        }

        public String getMobile() {
            return mobile;
        }

        public void setMobile(String mobile) {
            this.mobile = mobile;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getMessage() {
            return message;
        }

        public void setMessage(String message) {
            this.message = message;
        }

        public int getGoodsPrice() {
            return goodsPrice;
        }

        public void setGoodsPrice(int goodsPrice) {
            this.goodsPrice = goodsPrice;
        }

        public int getFreightPrice() {
            return freightPrice;
        }

        public void setFreightPrice(int freightPrice) {
            this.freightPrice = freightPrice;
        }

        public int getCouponPrice() {
            return couponPrice;
        }

        public void setCouponPrice(int couponPrice) {
            this.couponPrice = couponPrice;
        }

        public int getIntegralPrice() {
            return integralPrice;
        }

        public void setIntegralPrice(int integralPrice) {
            this.integralPrice = integralPrice;
        }

        public int getGrouponPrice() {
            return grouponPrice;
        }

        public void setGrouponPrice(int grouponPrice) {
            this.grouponPrice = grouponPrice;
        }

        public int getOrderPrice() {
            return orderPrice;
        }

        public void setOrderPrice(int orderPrice) {
            this.orderPrice = orderPrice;
        }

        public int getActualPrice() {
            return actualPrice;
        }

        public void setActualPrice(int actualPrice) {
            this.actualPrice = actualPrice;
        }

        public int getComments() {
            return comments;
        }

        public void setComments(int comments) {
            this.comments = comments;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }
    }

    public static class OrderGoodsBean {
        /**
         * id : 295
         * orderId : 216
         * goodsId : 1097011
         * goodsName : 原素系列1.8米实木床
         * goodsSn : 1097011
         * productId : 125
         * number : 3
         * price : 3899
         * specifications : ["标准"]
         * picUrl : http://yanxuan.nosdn.127.net/fea36ef2514c904f4f45f1975f37f289.png
         * comment : 1057
         * addTime : 2020-10-09 20:01:28
         * updateTime : 2020-10-09 20:58:00
         * deleted : false
         */

        private int id;
        private int orderId;
        private int goodsId;
        private String goodsName;
        private String goodsSn;
        private int productId;
        private int number;
        private int price;
        private String picUrl;
        private int comment;
        private String addTime;
        private String updateTime;
        private boolean deleted;
        private List<String> specifications;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public int getGoodsId() {
            return goodsId;
        }

        public void setGoodsId(int goodsId) {
            this.goodsId = goodsId;
        }

        public String getGoodsName() {
            return goodsName;
        }

        public void setGoodsName(String goodsName) {
            this.goodsName = goodsName;
        }

        public String getGoodsSn() {
            return goodsSn;
        }

        public void setGoodsSn(String goodsSn) {
            this.goodsSn = goodsSn;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getNumber() {
            return number;
        }

        public void setNumber(int number) {
            this.number = number;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getPicUrl() {
            return picUrl;
        }

        public void setPicUrl(String picUrl) {
            this.picUrl = picUrl;
        }

        public int getComment() {
            return comment;
        }

        public void setComment(int comment) {
            this.comment = comment;
        }

        public String getAddTime() {
            return addTime;
        }

        public void setAddTime(String addTime) {
            this.addTime = addTime;
        }

        public String getUpdateTime() {
            return updateTime;
        }

        public void setUpdateTime(String updateTime) {
            this.updateTime = updateTime;
        }

        public boolean isDeleted() {
            return deleted;
        }

        public void setDeleted(boolean deleted) {
            this.deleted = deleted;
        }

        public List<String> getSpecifications() {
            return specifications;
        }

        public void setSpecifications(List<String> specifications) {
            this.specifications = specifications;
        }
    }
}
